home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / CC_C / 0566.ZIP / ARCDATA.MAC < prev    next >
Text File  |  1986-02-03  |  3KB  |  54 lines

  1. $emit(off)
  2. $repeat(2,#
  3. $$define(c,$$ife(@0,1,@1,@2))
  4. $$define(h,$$ife(@0,2,@1,@2))
  5. $$define(e,$$h(extern ))
  6. $$emit($$c(on,to arc.h))#
  7. /*  ARC - Archive utility - $$c(ARCDATA,ARC Header)
  8.  
  9. $define(tag,$$segment(@1,$$index(@1,=)+1))#
  10. $define(version,Version $tag(
  11. TED_VERSION DB =2.14), created on $tag(
  12. TED_DATE DB =02/03/86) at $tag(
  13. TED_TIME DB =22:48:29))#
  14. $undefine(tag)#
  15.     $version
  16.  
  17. (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
  18.  
  19.     By:  Thom Henderson
  20.  
  21.     Description: $$h(
  22.          This is the header file for the ARC archive utility.  It defines
  23.          global parameters and the references to the external data.
  24. ,
  25.          This file defines the external data storage used by the ARC
  26.          archive utility.
  27. )
  28.  
  29.     Language:
  30.          Computer Innovations Optimizing C86
  31. */
  32. #include $c(<stdio.h>,"arcs.h")
  33.  
  34. $$e()int keepbak$$c( = 0);             /* true if saving the old archive */
  35. $$e()int warn$$c( = 1);                /* true to print warnings */
  36. $$e()int note$$c( = 1);                /* true to print comments */
  37. $$e()int bose$$c( = 0);                /* true to be verbose */
  38. $$e()int nocomp$$c( = 0);              /* true to suppress compression */
  39. $$e()int kludge$$c( = 0);              /* kludge flag */
  40. $$e()char *arctemp$$c( = NULL);        /* arc temp file prefix */
  41. $$e()char *password$$c( = NULL);       /* encryption password pointer */
  42. $$e()int nerrs$$c( = 0);               /* number of errors encountered */
  43.  
  44. $$e()char hdrver;                      /* header version */
  45.  
  46. $$e()FILE *arc;                        /* the old archive */
  47. $$e()FILE *new;                        /* the new archive */
  48. $$e()char arcname[$$strlen];           /* storage for archive name */
  49. $$e()char bakname[$$strlen];           /* storage for backup copy name */
  50. $$e()char newname[$$strlen];           /* storage for new archive name */
  51. $$e()unsigned int arcdate$$c( = 0);    /* archive date stamp */
  52. $$e()unsigned int arctime$$c( = 0);    /* archive time stamp */
  53. )#
  54.